<?xml version = '1.0' encoding = 'UTF-8'?>
<HBRRepo><variables/><rulesets/><rules><rule id="1" name="ValidateOtherCompensation" product="Planning"><property name="application">Vision</property><property name="plantype">Plan1</property><script type="groovy"> // Set BG color to Red if Other Compensation (6160) exceeds 10% of Salaries (5800).
 operation.grid.dataCellIterator('6160').each {
 	DataCell salariesCell = it.crossDimCell('5800')
    if(it.data > salariesCell.data * 0.1) {
    	it.setBgColor(0xF87B9F)
        it.setTooltip("Other Compensation Expenses exceeds 10% of Salaries!");
     }
 }</script></rule></rules><components/><deployobjects><deployobject product="2" application="vision" plantype="plan1" obj_id="1" obj_type="1" name="VALIDATEOTHERCOMPENSATION"/></deployobjects></HBRRepo>